package cn.edu.sdjzu.xg.eagle.bysj.entity.view;

import cn.edu.sdjzu.xg.eagle.bysj.entity.KaoqinshensuEntity;
import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 * 考勤申诉
 * 后端返回视图实体辅助类
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author
 * @email
 * @date 2025-05-27 14:26:11
 */
@TableName("kaoqinshensu")
public class KaoqinshensuView  extends KaoqinshensuEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public KaoqinshensuView(){
    }

    public KaoqinshensuView(KaoqinshensuEntity kaoqinshensuEntity){
        try {
            BeanUtils.copyProperties(this, kaoqinshensuEntity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
}